package com.reptile.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.reptile.domain.Taobao;


@Mapper
public interface TaobaoMapper 
{
	@Insert("INSERT INTO Taobao(id,name) VALUES(#{id},#{name})")
	void inster(Taobao taobao);
	
	@Select("select * from Taobao")
	List<Taobao> getAll();
	
}
